package com.bby.user.service;

import com.bby.common.exception.BBYException;
import com.bby.common.model.FavoriteGroup;
import com.bby.common.model.PmMessage;
import com.bby.common.model.PmMessageDeal;
import com.bby.common.model.UserSettings;
import com.bby.user.bean.UserGroupVO;
import com.bby.user.bean.UserPubsVO;
import com.bby.user.bean.req.FavoriteActionReq;
import com.bby.user.bean.req.UserGroupActionReq;

import java.util.List;

public interface UserActionService {


    UserSettings setUserSettings(String userId, UserSettings settings) throws BBYException;

    UserSettings getUserSettings(String userId);

    List<FavoriteGroup> favoriteOp(String userId, FavoriteActionReq params) throws BBYException;

    List<FavoriteGroup> getFavorites(String userId) throws BBYException;

    List<UserGroupVO> userGroups(String userId, UserGroupActionReq params) throws BBYException;

    List<UserGroupVO> getUserGroups(String userId) throws BBYException;

    UserPubsVO searchUser(String regex, Integer page, Integer limit);

}
